package com.be.beadmin.design.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-02-13
 * @Description 标准柜体
 */
@Entity
@Table(name="T_DM_StandProduct")
@Getter
@Setter
public class StandProduct extends BaseEntity {

    @Column(name = "MaterialInfoId",columnDefinition = "VARCHAR(50) COMMENT '主物料id'")
    private String materialInfoId;

    @Column(name = "MaterialCode",columnDefinition = "VARCHAR(50) COMMENT '主物料编码'")
    private String materialCode;

    @Column(name = "MaterialName",columnDefinition = "VARCHAR(50) COMMENT '主物料名称'")
    private String materialName;

    @Column(name = "ApproveText",columnDefinition = "text COMMENT '审批描述'")
    private String approveText;

    @Column(name = "State",columnDefinition = "int COMMENT '审批标识[0:草稿，1：待审批，2：已审批]'")
    private int state;

    @Column(name = "BomSerial",columnDefinition = "int COMMENT '该柜体bom编号'")
    private Integer bomSerial;

    @Column(name = "DrawingSerial",columnDefinition = "int COMMENT '该柜体图纸编号'")
    private Integer drawingSerial;

    @Column(name = "IsDrawingUpload",columnDefinition = "int COMMENT '图纸是否上传  1/0'")
    private Integer isDrawingUpload;

    @Column(name = "IsBomUpload",columnDefinition = "int COMMENT 'bom是否上传  1/0'")
    private Integer isBomUpload;

    @Column(name = "StandTypeName",columnDefinition = "VARCHAR(50) COMMENT '标准柜体描述' ")
    private String standTypeName;

    @Column(name = "BopCode",columnDefinition = "VARCHAR(50) COMMENT '工艺路径' ")
    private String bopCode;

    @Column(name = "StandTypeDesc",columnDefinition = "VARCHAR(50) COMMENT '标准柜体类型' ")
    private String standTypeDesc;

    @Column(name = "StandTypeCode",columnDefinition = "VARCHAR(50) COMMENT '标准柜体编码' ")
    private String standTypeCode;

    @Column(name = "DesignWhLevel",columnDefinition = "int COMMENT '设计工时级别' ")
    private int designWhLevel;

    @Column(name = "StandDesignWorkHour",columnDefinition = "float COMMENT '设计总工时' ")
    private float standDesignWorkHour;

    @Column(name = "ProductWhLevel",columnDefinition = "int COMMENT '生产工时级别' ")
    private int productWhLevel;

    @Column(name = "StandManufactWorkHour",columnDefinition = "float COMMENT '生产总工时' ")
    private float standManufactWorkHour;

    @Column(name = "StandBomFileCode",columnDefinition = "VARCHAR(50) COMMENT 'BOM标识' ")
    private String standBomFileCode;

    @Column(name = "StandDrawingFileCode",columnDefinition = "VARCHAR(50) COMMENT '图纸标识' ")
    private String standDrawingFileCode;

    @Column(name = "StandWoCode",columnDefinition = "VARCHAR(50) COMMENT '标准柜WO' ")
    private String standWoCode;

    @Column(name = "Memo",columnDefinition = "VARCHAR(50) COMMENT '备注' ")
    private String memo;

    @Column(name = "Reserved",columnDefinition = "VARCHAR(50) COMMENT '预留' ")
    private String reserved;
}
